 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib prefix="pm" uri="http://heroj.cn/permissionTag"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<head>
<title>ColumnDefine</title>
 <script src="${cdnAddress}/js/boot.js${cacheVersion}" type="text/javascript"></script>
 <script src="${cdnAddress}/js/util.js${cacheVersion}" type="text/javascript"></script>
 <link href="${cdnAddress}/css/util.css${cacheVersion}" rel="stylesheet" type="text/css" />
</head>
<body>
<input type="hidden" id="projectName" value="${projectName}" />
<form id="ColumnDefineListForm" method="post">
 	 <input class="mini-hidden" id="ids" name="ids" value=""/> 	 
  <div>
        <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
        <div id="formseach">
            <table style="width:100%;">
          
</td>
           	 </tr>           	 <tr>
           	 <td>表名:<input  class="mini-textbox"   id="dymcformId" name="dymcformId" /></td>
           	 </tr>           	 <tr>
           	 <td>列名称:<input  class="mini-textbox"   id="columnName" name="columnName" /></td>
           	 </tr>           	 <tr>
           	 <td>列类型:<input  class="mini-textbox"   id="columnType" name="columnType" /></td>
           	 </tr>           	 <tr>
           	 <td>是否必须:<input  class="mini-textbox"   id="isRequired" name="isRequired" /></td>
           	 </tr>           	 <tr>
           	 <td>是否列表:<input  class="mini-textbox"   id="isList" name="isList" /></td>
           	 </tr>           	 <tr>
           	 <td>是否用于高级查询:<input  class="mini-textbox"   id="isQuery" name="isQuery" /></td>
           	 </tr>           	 <tr>
           	 <td>是否隐藏:<input  class="mini-textbox"   id="isHidden" name="isHidden" /></td>
           	 </tr>           	 <tr>
           	 <td>备注:<input  class="mini-textbox"   id="description" name="description" /></td>
           	 </tr>           	 <tr>
           	 <td>长度:<input  class="mini-textbox"   id="columnLength" name="columnLength" /></td>
           	 </tr>           	 <tr>
           	 <td>精度:<input  class="mini-textbox"   id="precision" name="precision" /></td>
           	 </tr>           	 <tr>
           	 <td>验证规则:<input  class="mini-textbox"   id="validrule" name="validrule" /></td>
           	 </tr>           	 <tr>
           	 <td>是否删除:<input  class="mini-textbox"   id="isDel" name="isDel" /></td>
           	 </tr>           	 <tr>
           	 <td>是否流程变量:<input  class="mini-textbox"   id="isFlowVar" name="isFlowVar" /></td>
           	 </tr>           	 <tr>
           	 <td>:<input  class="mini-textbox"   id="createUser" name="createUser" /></td>
           	 </tr>           	 <tr>
           	 <td>:<input class="mini-datepicker"  id="createTime" name="createTime" /></td>
           	 </tr>           	 <tr>
           	 <td>最后更新者:<input  class="mini-textbox"   id="updateUser" name="updateUser" /></td>
           	 </tr>           	 <tr>
           	 <td>:<input class="mini-datepicker"  id="updateTime" name="updateTime" /></td>
           	 </tr> 
			 <tr><td><a class="mini-button" iconCls="icon-search" onclick="seachRow()">查询</a><a class="mini-button" iconCls="icon-undo" onclick="resetForm()">重置</a></td>
          	</table>   
            </div>        
        </div>
    </div>
</form> 
    <div>
     <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
            <table style="width:100%;">
                <tr>
                 	<td style="width:100%;">
                 	 <pm:Permission>
                        <a class="mini-button" id="addColumnDefine" iconCls="icon-add" onclick="addColumnDefine()">增加</a>
                        <a class="mini-button" id="editColumnDefine" iconCls="icon-edit" onclick="editColumnDefine()">编辑</a>
                        <a class="mini-button" id="removeColumnDefine" iconCls="icon-remove" onclick="removeColumnDefine()">删除</a>
                        <a class="mini-button" id="freezeColumnDefine" iconCls="icon-lock" onclick="freezeColumnDefine()">冻结</a>     
                        <a class="mini-button" id="freeColumnDefine" iconCls="icon-unlock" onclick="freeColumnDefine()">解冻</a>            
                        <a class="mini-button" id="importColumnDefine" iconCls="icon-upload" onclick="importColumnDefine()">导入</a>            
                        <a class="mini-button" id="exportColumnDefine" iconCls="icon-download" onclick="exportColumnDefine()">导出</a>            
                     </pm:Permission>
                    </td>
                     
                </tr>
            </table>           
        </div>
    </div>
   <div class="mini-fit" style="height:100px;">
  <div id="columnDefineGrid" class="mini-datagrid" style="width:100%;height:100%;" onrowdblclick="onrowdblclick" 
        url="${projectName}/ColumnDefineAdmin/List"  idField="id"   sizeList="[10,20,30,50]" pageSize="30" multiSelect="true" >
        <div property="columns">
            <div type="checkcolumn"></div> 
            <div field="id" 
           ></div>
            <div field="dymcformId" 
           >表名</div>
            <div field="columnName" 
           >列名称</div>
            <div field="columnType" 
           >列类型</div>
            <div field="isRequired" 
           >是否必须</div>
            <div field="isList" 
           >是否列表</div>
            <div field="isQuery" 
           >是否用于高级查询</div>
            <div field="isHidden" 
           >是否隐藏</div>
            <div field="description" 
           >备注</div>
            <div field="columnLength" 
           >长度</div>
            <div field="precision" 
           >精度</div>
            <div field="validrule" 
           >验证规则</div>
            <div field="isDel" 
           >是否删除</div>
            <div field="isFlowVar" 
           >是否流程变量</div>
            <div field="createUser" 
           ></div>
            <div field="createTime" 
           dateFormat="yyyy-MM-dd HH:mm:ss"></div>
            <div field="updateUser" 
           >最后更新者</div>
            <div field="updateTime" 
           dateFormat="yyyy-MM-dd HH:mm:ss"></div>
        </div>
    </div> 

    </div>
<script src="${scripts}/columndefine/columnDefineList.js${cacheVersion}" type="text/javascript"></script>
</body>

</html>